using System;

namespace Metar.NET
{
	public class Height
	{
        public enum UNITS{INCH=0,MM}
        private double inch=0;
        private double mm=0;

        public double Inch
        {
            get
            {
                return this.inch;
            }
            set
            {
                this.inch=value;
                this.mm=this.inch*0.254;
            }
        }

        public double Mm
        {
            get
            {
                return this.mm;
            }
            set
            {
                this.mm=value;
                this.inch=this.mm/0.254;
            }
        }

		public Height()
		{
			//
			// TODO: Add constructor logic here
			//
		}
	}
}
